Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build description on build cancellation #862

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kimonus
Copy link

@kimonus kimonus commented Feb 2, 2024

Ghprb plugin has a feature of "Cancel build on update" which cancels current build in case if Pull Request being updated on GitHub. Unfortunately, I was not able to find a way from within current build to determine whether build was cancelled by ghprb or something else. So I suggest to add special string to build description -- to inform user/administrator that the build was canceled by this particular plugin.

Testing done

Plugin has been compiled and installed to Jenkins version 2.401.3.
And here is how it looks like:

  1. In side panel:
    image

  2. In build details:
    image

Submitter checklist

Preview Give feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants